package com.wuyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yz
 * @since 2022-10-06
 */
@TableName("tb_warranty")
public class TbWarranty implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "warranty_id", type = IdType.AUTO)
    private Long warrantyId;

    /**
     * 报修物品id
     */
    private Long furnitureId;

    /**
     * 报修原因
     */
    private String reason;

    /**
     * 图片
     */
    private String image;

    /**
     * 状态(0待审核 1审核通过 2未通过)
     */
    private Integer status;

    /**
     * 备用字段1
     */
    private String spare1;

    /**
     * 备用字段2
     */
    private String spare2;

    public Long getWarrantyId() {
        return warrantyId;
    }

    public void setWarrantyId(Long warrantyId) {
        this.warrantyId = warrantyId;
    }
    public Long getFurnitureId() {
        return furnitureId;
    }

    public void setFurnitureId(Long furnitureId) {
        this.furnitureId = furnitureId;
    }
    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getSpare1() {
        return spare1;
    }

    public void setSpare1(String spare1) {
        this.spare1 = spare1;
    }
    public String getSpare2() {
        return spare2;
    }

    public void setSpare2(String spare2) {
        this.spare2 = spare2;
    }

    @Override
    public String toString() {
        return "TbWarranty{" +
            "warrantyId=" + warrantyId +
            ", furnitureId=" + furnitureId +
            ", reason=" + reason +
            ", image=" + image +
            ", status=" + status +
            ", spare1=" + spare1 +
            ", spare2=" + spare2 +
        "}";
    }
}
